package com.nf.recruitment.dao;

import com.nf.recruitment.entity.City;
import com.nf.recruitment.entity.Provincial;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zgy\dhl
 */
public interface CityMapper {
    /**
     * 获取所有省份
     * @return
     */
    List<Provincial> listProvince();

    /**
     * 根据所选省份获取城市
     * @return
     */
    List<City> getCityByProvincial(@Param("provincialId")long provincialId);

}
